Skip to main content

XPDFViewer_Zoom

Type

command

Summary

Zoom the page using either one of the five zoom constants or a specified percentage.

Syntax

XPDFViewer_Zoom <viewerName>, {"width" | "fit" | "actual" | "in" | "out" | <percent>}

Description

The following errors may be thrown by the command:

  • XPDF_ERROR: incorrect number of parameters
  • XPDF_ERROR: PDF viewer not found

Parameters

NameTypeDescription

viewerName

string

The name of the viewer.

percent

integer

Percent of actual size to scale the PDF.

Examples

XPDFViewer_Zoom "Document1", 200

Compatibility and Support

Introduced

LiveCode 1.0.0

OS

mac

windows

Platforms

desktop

Thank you for your feedback!

Was this page helpful?